import request from '@/config/request';
export namespace systemApi {
  export const loginByUserName = (params = {}) =>
    request({
      url: '/system/auth/login',
      method: 'post',
      params,
    });


  export const getUserInfo = (params = {}) =>
    request({
      url: '/system/user/getUserInfo',
      method: 'get',
      params,
    });


}